from django.conf.urls import patterns, url
from users import views

urlpatterns = patterns('',
    url(r'^$', views.index, name="index"),
    url(r'^publish/$', views.publish, name="publish"),
    url(r'^setting/$', views.setting, name="setting"),
    url(r'^good/$', views.good, name="good"),
    url(r'^cogood/$', views.cogood, name="cogood"),
    #url(r'^get/$', views.getimg, name="get"),
    url(r'^add/$', views.add, name="add"),
    url(r'^share/$', views.share, name="share"),
    url(r'^setting/update/$', views.update, name="update"),
    url(r'^setting/pwdchange/$', views.pwdchange, name="pwdchange"),
    url(r'^setting/head/$', views.head, name="head"),
    #url(r'^mycourse/$', views.mycourseact, name="mycourseact"),
    url(r'^home/(.+)$', views.home, name="home"),
    url(r'^message/$', views.message, name="message"),
    url(r'^manage/friend/$', views.managefriend, name="managefriend"),
    url(r'^cancelfocus/$', views.cancelfocus, name="cancelfocus"),
    url(r'^addfocus/$', views.addfocus, name="addfocus"),
    url(r'^manage/course/$', views.managecourse, name="managecourse"),
    url(r'^manage/course/dlt/$', views.dlt, name="dlt"),
    url(r'^manage/course/expired/$', views.expired, name="expired"),
    url(r'^manage/course/alter/$', views.alter, name="alter"),
    url(r'^manage/group/$', views.managegroup, name="managegroup"),
    url(r'^manage/reward/select/$', views.select, name="select"),
    url(r'^manage/reward/det/$', views.det, name="det"),
    url(r'^manage/reward/$', views.managereward, name="managereward"),
    url(r'^mytopic/$', views.mytopic, name="mytopic"),
    url(r'^teacherapply/$', views.teacherapply, name="teacherapply"),
    url(r'^comment/$', views.comment, name="comment"),
    url(r'^cocomment/$', views.cocomment, name="cocomment"),
    url(r'^get_more_re/$', views.get_more_re, name="get_more_re"),
    url(r'^warning/$', views.warning, name="warning"),
    url(r'^mes/$', views.mes, name="mes"),
    url(r'^mestalk/(.+)$', views.mestalk, name="mestalk"),
    url(r'^mes_read/$', views.mes_read, name="mes_read"),
    url(r'^warning_news_page/$', views.warning_news_page, name="warning_news_page"),
    url(r'^header_warning/$', views.header_warning, name="header_warning"),
    url(r'^del_warning/$', views.del_warning, name="del_warning"),
    url(r'^ignore_warning/$', views.ignore_warning, name="ignore_warning"),
    url(r'^del_message/$', views.del_message, name="del_message"),
    url(r'^ignore_message/$', views.ignore_message, name="ignore_message"),
    url(r'^logout/$', views.logout, name="logout"),
    url(r'^agreement/(.+)$', views.agreement, name="agreement"),
    url(r'^feedback/$', views.feedback, name="feedback"),
    url(r'^addFeedback/$', views.addFeedback, name="addFeedback"),
    url(r'^delames/$', views.delames, name="delames"),
    url(r'^delawarning/$', views.delawarning, name="delawarning"),
    url(r'^css/(?P<path>.*)$', 'django.views.static.serve', 
        { 'document_root': 'e:/Demo/templates/public/css' }
	),
    url(r'^js/(?P<path>.*)$', 'django.views.static.serve', 
        { 'document_root': 'e:/Demo/templates/public/js' }
    ),
    url(r'^fonts/(?P<path>.*)$', 'django.views.static.serve', 
        { 'document_root': 'e:/Demo/templates/public/fonts' }
    ), 
    url(r'^img/(?P<path>.*)$', 'django.views.static.serve', 
        { 'document_root': 'e:/Demo/templates/public/img' }
    ), 
    url(r'^news/(?P<path>.*)$', 'django.views.static.serve', 
        { 'document_root': 'e:/Demo/templates/picture/news' }
    ), 
    url(r'^ico/(?P<path>.*)$', 'django.views.static.serve', 
        { 'document_root': 'e:/Demo/templates/picture/ico' }
    ), 
    url(r'^group/(?P<path>.*)$', 'django.views.static.serve', 
        { 'document_root': 'e:/Demo/templates/picture/group/image' }
    ), 
)
